Setting a Default Value for Select Elements in AngularJS
This is just a quick code snippet for those of you facing this slight problem when developing your applications using AngularJS 1.5. This works for those of you
<select ng-model="selection" ng-init="selection ='The First Default Option'">
<option>The First Default Option</option>
<option>The Second non-default option</option>
</select>
Continue Learning
angularjs
AngularJS Promises Tutorial
In this tutorial we examine the $q service and how we can chain promises.
Apr 2017
4 min read
angularjsMost Important Changes to AngularJS in 1.6
In this article we look at the most important changes to AngularJS in the latest upcoming release version 1.6.
Apr 2017
2 min read
angularjsAngularJS ng-model in ng-if Tutorial
A small helper tutorial for those struggling to use the ng-model directive within the ng-if directive in your angularjs app.
Apr 2017
1 min read
angularjsAngularJS Data Binding Tutorial
This first lesson of the Angularjs course looks to teach how useful data binding is when using AngularJS
Apr 2017
2 min read