Created
April 17, 2015 02:27
-
-
Save jonatasfreitasv/17b0d739e66921505d23 to your computer and use it in GitHub Desktop.
app.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var app = angular.module('controlacar', ['ngRoute'], ['shared']); | |
app.config(['$routeProvider', '$locationProvider', function($routeProvider,$locationProvider) { | |
$locationProvider.hashPrefix('!'); | |
$routeProvider | |
.when('/', { | |
templateUrl: 'components/login/form.html' | |
}) | |
.when('/dashboard', { | |
templateUrl: 'components/dashboard/page.html' | |
}) | |
.when('/messages', { | |
templateUrl: 'components/messages/page.html' | |
}); | |
}]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment