Update seed app
[angular-drzb] / app / js / app.js
1 'use strict';
2
3
4 // Declare app level module which depends on filters, and services
5 angular.module('myApp', ['myApp.filters', 'myApp.services', 'myApp.directives']).
6   config(['$routeProvider', function($routeProvider) {
7     $routeProvider.when('/view1', {template: 'partials/partial1.html', controller: MyCtrl1});
8     $routeProvider.when('/view2', {template: 'partials/partial2.html', controller: MyCtrl2});
9     $routeProvider.otherwise({redirectTo: '/view1'});
10   }]);