Advertisement
stefbrad15

Untitled

Jul 8th, 2017
1,203
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Module documentation https://docs.angularjs.org/guide/module
  2. var app = angular.module("helloPython", ["ngRoute"]);
  3.  
  4. app.config(function($routeProvider) {
  5.     $routeProvider
  6.     .when("/", {
  7.         templateUrl : "/static/views/main.htm"
  8.     })
  9.     .when("/test", {
  10.         templateUrl : "/static/views/test.htm",
  11.         controller: "testCtrl"
  12.     })
  13. });
Advertisement
RAW Paste Data Copied
Advertisement