The largest Interview Solution Library on the web


« Previous | 1 | 2 | 3 | Next »

Let's try this simple notify service, injected into the controller...

(you have to click 3 times to see an alert)

<script src="script.js"></script>
<script src="protractor.js"></script>
<div id="simple" ng-controller="MyController">
<p>Let's try this simple notify service, injected into the controller...</p>
<input ng-init="message='test'" ng-model="message" >
<button ng-click="callNotify(message);">NOTIFY</button>
<p>(you have to click 3 times to see an alert)</p>
</div>
« Previous | 1 | 2 | 3 | Next »


copyright © 2014 - all rights riserved by javatechnologycenter.com