× {{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!
Kostychev Konstantin
Kostychev Konstantin
Full Stack & BlockChain & AI/ML Developer
Experienced Full Stack & Blockchain & AI/ ML Developer with 10+ years of success building decentralized, real-time web applications and optimizing...
Hire this Expert
Kodaolu Idris Aremu
Kodaolu Idris Aremu
5.0
An engineer with an excellent sense of remarkable technologies
Engineer with a strong sense of appealing user interfaces, efficient software design, and outstanding online platforms. I use my stack to create...
Hire this Expert