Powered by Blogger.

Tuesday, 16 December 2014

angualar js

By Shambhu Kumar  |  20:44 No comments

Adding watermark
<input type="text" ng-model="car.plate" placeholder="What's the plate?" />


Disable button till all mandatory field is filled
<input type="text" ng-model="car.plate" placeholder="What's the plate?" />
<input type="text" ng-model="car.model" placeholder="What's the Model" />

<button ng-click="park(car)" ng-disabled="!car.plate || !car.model">Park</button>

Author: Shambhu Kumar

Hello, I am Author, decode to know more: In commodo magna nisl, ac porta turpis blandit quis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. In commodo magna nisl, ac porta turpis blandit quis. Lorem ipsum dolor sit amet.

0 comments:

Recent Articles

© 2014 Learning Java. WP themonic converted by Bloggertheme9. Published By Gooyaabi Templates
TOP