Skip to content

Commit e9ea2de

Browse files
authored
rr/ng-route (#5)
* rr/main-controller (pull request #2) rr/main-controller * fix gulp indexHTML task * removing unecessary elements * main-controller base Approved-by: Roberto Robson Soares Nogueira <[email protected]> * Merged in rr/navigation-bar (pull request #3) rr/navigation-bar * navigation-bar directive * add navigation-bar app.js dependency. set tiny md override md-button-icon Approved-by: Roberto Robson Soares Nogueira <[email protected]> * rr/side-menu (pull request #4) rr/side-menu Approved-by: Roberto Robson Soares Nogueira <[email protected]> * rr/ng-route (pull request #5) rr/ng-route
1 parent 8109f3c commit e9ea2de

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

src/config/config.js

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
'use strict';
3+
4+
(function(){
5+
6+
angular.module('uiChallengeApp').config(
7+
8+
function(
9+
$locationProvider
10+
){
11+
12+
$locationProvider.html5Mode(true);
13+
14+
}
15+
);
16+
17+
})();

src/index.html

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<!DOCTYPE html>
22
<html ng-app="uiChallengeApp">
33
<head>
4+
<base href="/">
45
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
56
<meta charset="utf-8">
67
<title>Roberto Robson - UI Challenge</title>

0 commit comments

Comments
 (0)