Skip to content

Instantly share code, notes, and snippets.

Oswaldo Martinez OswaldoMartinezMendez

Block or report user

Report or block OswaldoMartinezMendez

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
OswaldoMartinezMendez / app.js
Created Jul 21, 2016
Example Route in AngularJs 1.X
View app.js
module.config(function ($routeProvider) {
$routeProvider.when('/', {
templateUrl: 'templates/order.tmpl.html',
controller: 'orderController',
controllerAs: 'order'
$routeProvider.otherwise({redirectTo: '/'});
$routeProvider.when('/status', {
You can’t perform that action at this time.