This repository has been archived on 2020-09-11. You can view files and clone it, but cannot push or open issues or pull requests.
sp4ke.github.com/app/js/app.js
Chakib (spike) Benziane 4ca3273b9c Using async script loading with ng-cloak
- fadeIn on scripts ready and angular bootstrap
2013-01-06 22:44:45 +01:00

21 lines
544 B
JavaScript

// Generated by CoffeeScript 1.3.1
(function() {
angular.module('myApp', ['myApp.filters', 'myApp.services', 'myApp.directives']).config([
'$routeProvider', function($routeProvider) {
$routeProvider.when('/view1', {
templateUrl: 'partials/partial1.html',
controller: MyCtrl1
});
$routeProvider.when('/view2', {
templateUrl: 'partials/partial2.html',
controller: MyCtrl2
});
return $routeProvider.otherwise({
redirectTo: '/view1'
});
}
]);
}).call(this);