The largest Interview Solution Library on the web



Warning: include(../../menu/leftMenu/angularjslogindemo.php) [function.include]: failed to open stream: No such file or directory in /home/javatech/public_html/question/angularjsexample/angularjs-navigation.php on line 36

Warning: include(../../menu/leftMenu/angularjslogindemo.php) [function.include]: failed to open stream: No such file or directory in /home/javatech/public_html/question/angularjsexample/angularjs-navigation.php on line 36

Warning: include() [function.include]: Failed opening '../../menu/leftMenu/angularjslogindemo.php' for inclusion (include_path='.:/opt/alt/php53/usr/share/pear:/opt/alt/php53/usr/share/php') in /home/javatech/public_html/question/angularjsexample/angularjs-navigation.php on line 36
« Previous | 1 | 2 | 3 | Next »

You chose {{active}}

<div
<html>
<head>
<meta charset="utf-8"/>
<link href="http://fonts.javatechnologycenter.com/css?family=Open+Sans:400,700" rel="stylesheet" />

<link href="style.css" rel="stylesheet" />

</head>

<body ng-app>

<nav class="{{active}}" ng-click="$event.preventDefault()">

<a href="#" class="home" ng-click="active='home'">Home</a>
<a href="#" class="about" ng-click="active='about'">About</a>
<a href="#" class="contact" ng-click="active='contact'">Contact</a>
<a href="#" class="service" ng-click="active='service'">Service</a>
</nav>
<p ng-show="active">You chose <b>{{active}}</b></p>
</body>
</html>
« Previous | 1 | 2 | 3 | Next »


copyright © 2014 - all rights riserved by javatechnologycenter.com