bsTypeahead directive which adds entered value back
[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('/registration/:registrationId', {templateUrl: 'partials/registration.html', controller: RegistrationCtrl});
8     $routeProvider.when('/confirmation/:registrationId', {templateUrl: 'partials/confirmation.html', controller: RegistrationCtrl});
9     $routeProvider.when('/list', {templateUrl: 'partials/list.html', controller: ListCtrl});
10     $routeProvider.when('/view2', {templateUrl: 'partials/partial2.html', controller: MyCtrl2});
11     $routeProvider.otherwise({redirectTo: '/registration/'});
12   }]);