deardesi.js/views/about/about.js

17 lines
315 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 () {}]);