Skip to content

Tag: angularjs

Validation for textbox by using checkbox

This is my code: This is my angularjs Code: In the above code when I click the Continue button, first check the checkbox checked or not after it will check enter the password or not. Answer Check Once Is it what you want or something else Remove alerts ands code what you want

Angular create element if another is non-existent

I have a list of states (Florida, Alabama …) and I want to create named anchors above the first occurance of the first letter. Letter Links States I am stuck at <a ng-if=”” id=”{{state.state.charAt(0)}}”>fgsdf</a> I have tried ng-if=”!document.getElementById(sta…