Skip to content

Commit

Permalink
Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
AshishChoureCT committed Jun 26, 2015
1 parent f849b23 commit 466d87f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.5/angular-route.min.js"></script>
<!-- All the logic goes into main.js file.Let's import it -->
<script src="main.js"></script>
<!-- End Of Logic -->
</head>

<body ng-app="sampleApp">
Expand Down
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//Create New Module
var module = angular.module("sampleApp", ['ngRoute']);

module.config(['$routeProvider',
function($routeProvider) {
$routeProvider.
Expand Down
1 change: 1 addition & 0 deletions template1.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- First Template for Routing -->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
Expand Down
1 change: 1 addition & 0 deletions template2.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Second Template for Routing -->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
Expand Down

0 comments on commit 466d87f

Please sign in to comment.