Angular JS - adding Options dynamically to Select drop down box
You can create options elements of <select> dynamically using Angular.An example of it with various options like grouping options or disabling few are also available.<html> <head> <script data-require="angular.js@1.... data-semver="1.4.0" src="https://code.angularjs... <script type="text/javascript"> angular.module("app", []).controller("myController", ["$scope", function($scope) { $scope.OptionArray = [{ text: "Mumbai", id: 1, Country: ......
Posted On Sunday, June 14, 2015 3:31 PM | Comments (4)
AngularJS - Basics
I have recently been learning AngularJS by myself through online documentation. No Wonder it is so popular, its just WOW. It's sop much easier to work and not to worry about two-way binding. Angualr JS takes care of it automatically for us. You don't need any framework or installations to get started working with AngualrJS. It makes life so much easier building SPA(Single Page Applications). All you need to do to get up and running on Angular JS is - Download AngularJS library from Google official ......
Posted On Sunday, June 14, 2015 2:02 PM | Comments (2)