RelationshipCache - Remove case_id
[civicrm-core.git] / ang / crmApp.js
CommitLineData
416abe87 1(function(angular, CRM) {
a8e65974
TO
2 // crmApp is the default application which aggregates all known modules.
3 // crmApp should not provide any significant services, and no other
4 // modules should depend on it.
416abe87
PH
5 var crmApp = angular.module('crmApp', CRM.angular.modules);
6 crmApp.config(['$routeProvider',
7 function($routeProvider) {
b20ea913
TO
8
9 if (CRM.crmApp.defaultRoute) {
10 $routeProvider.when('/', {
11 template: '<div></div>',
12 controller: function($location) {
13 $location.path(CRM.crmApp.defaultRoute);
14 }
15 });
16 }
17
416abe87
PH
18 $routeProvider.otherwise({
19 template: ts('Unknown path')
20 });
21 }
22 ]);
416abe87 23})(angular, CRM);