Mark Coleman

Alter scope via Console

angular.element() is your friend

Yesterday I was tasked with changing some verbiage inside of an AngularJs application that is only displayed under a certain condition via ngIf. How can I validate the changes to the application without mucking up the boolean logic to display the div?

Given the following

<div ng-if="isNewUser">
Welcome . . .

Read More

April 11, 2015