desirae.js/views/about/about.js

15 lines
274 B
JavaScript

'use strict';
angular.module('myApp.about', ['ngRoute'])
.config(['$routeProvider', function($routeProvider) {
$routeProvider.when('/about', {
templateUrl: 'views/about/about.html',
controller: 'AboutCtrl'
});
}])
.controller('AboutCtrl', [function() {
}]);