Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Module documentation https://docs.angularjs.org/guide/module
- var app = angular.module("helloPython", ["ngRoute"]);
- app.config(function($routeProvider) {
- $routeProvider
- .when("/", {
- templateUrl : "/static/views/main.htm"
- })
- .when("/test", {
- templateUrl : "/static/views/test.htm",
- controller: "testCtrl"
- })
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement