16 lines
336 B
JavaScript
16 lines
336 B
JavaScript
angular.module("cauldron", ['ngRoute'])
|
|
.config(['$routeProvider',
|
|
function($routeProvider){
|
|
$routeProvider.when('/',{
|
|
templateUrl:'/views/indexView.html',
|
|
})
|
|
.otherwise({
|
|
redirectTo: '/',
|
|
});
|
|
}
|
|
])
|
|
.directive('brewEntry', function() {
|
|
return {
|
|
templateUrl: '/js/directives/brewEntry.html'
|
|
};
|
|
});
|