× {{alert.msg}} Never ask again
Receive New Tutorials
GET IT FREE

Tips from AngularUI Founder: How to Persuade Clients to Adopt AngularJS

– {{showDate(postTime)}}

Codementor AngularJS expert and founder of the Angular UI organization, Dean Sofer, joined us during an AngularJS open office hours for an open Q&A session. One of our viewers wished to know if there was anything Dean did to “wow” people to convince them to go with AngularJS.

Dean’s tips is as follows:

The text below is a summary done by the Codementor team and may vary from the original video and if you see any issues, please let us know!


To “wow” people, I always literally write do a to-do list in pure HTML, no Javascript. It’d have things like NG class, NG click, NG if, NG repeat, and even NG init. It’s not a good practice, because in a real app I would have offloaded more into the controller, but I would use the demonstration to show I can build the entire project in pure HTML and put all the logic in HTML. Then I’d create a global function and usedthe as syntax (controller as something). I don’t even have to inject scope. I just had to do this.add=afunction, and this.item=anarray.

I do this it right in front of people within fifteen minutes, and I got all these features done. If you use UI utils, there are event bindings for keyboard events (e.g. the return key, the space key, the backspace key and the escape key.) I could do all that in the template, so even in HTML I had the binding, and I didn’t use any controller whatsoever. This just sells people so fast, so you can try it out if you want to persuade clients to use Angular for their projects.


Other posts in this series with Dean Sofer:

Dean SoferNeed Dean’s help? Book a 1-on-1 session!

View Dean’s Profile

or join us as an expert mentor!



Author
Removed User
Removed User
4.9
Hire the Author

Questions about this tutorial?  Get Live 1:1 help from Angular experts!
Sumit S
Sumit S
5.0
Senior full stack developer
More than 10 years of experience in web/product development(worked at Microsoft for 10 years). Currently working as a Full-stack developer....
Hire this Expert
Jude Nwafor
Jude Nwafor
5.0
Jude Nwafor is a seasoned Senior Software Engineer at Cyberspace
I am currently employed as a frontend lead at Cyberspace. I’m hands on in all stages of software development cycle, from planning and design to...
Hire this Expert
comments powered by Disqus