diff --git a/app/css/app.css b/app/css/app.css
index c92524070a..30ec26e6ad 100644
--- a/app/css/app.css
+++ b/app/css/app.css
@@ -28,3 +28,7 @@
content: "";
padding: 0;
}
+
+.menu > li.active {
+ font-weight: bold;
+}
\ No newline at end of file
diff --git a/app/index.html b/app/index.html
index cba3ae659c..1c791ebd64 100644
--- a/app/index.html
+++ b/app/index.html
@@ -1,29 +1,29 @@
-
+
-
- My AngularJS App
-
+
+ My AngularJS App
+
-
+
-
+
- Angular seed app: v
+Angular seed app: v
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
diff --git a/app/js/controllers.js b/app/js/controllers.js
index 27ec57ad83..00de556e96 100644
--- a/app/js/controllers.js
+++ b/app/js/controllers.js
@@ -3,9 +3,14 @@
/* Controllers */
angular.module('myApp.controllers', [])
- .controller('MyCtrl1', [function() {
+ .controller('MyCtrl1', [function () {
- }])
- .controller('MyCtrl2', [function() {
+ }])
+ .controller('MyCtrl2', [function () {
- }]);
+ }])
+ .controller('AppCtrl', ['$scope', '$location', function ($scope, $location) {
+ $scope.isActive = function (viewLocation) {
+ return viewLocation === $location.path();
+ };
+ }]);