× {{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!

or join us as an expert mentor!



Author
Dean Sofer
Dean Sofer
4.9
Founder of AngularUI, Frontend and Fullstack dev and UX Designer, given talks at Google and Conferences
Known as ProLoser online (Github), I founded the AngularUI organization for AngularJS. I've been working as a frontend dev and ux designer for 6 years and a full stack dev for 10+ years. I've given...
Hire the Author

Questions about this tutorial?  Get Live 1:1 help from AngularJS experts!
Rowland Ekemezie
Rowland Ekemezie
5.0
Javascript, Nodejs, and React/Redux Expert
Full-stack Javascript Developer, automated system enthusiast, addictive learner, human capital development advocate, writer, and a software...
Hire this Expert
Femi Oladeji
Femi Oladeji
5.0
web programming enthusiast
I take your ideas and transform them into reality. I'm result-driven and also keen about doing things the effective & efficient way
Hire this Expert

Or Become a Codementor!

Live 1:1 help from expert developers

Codementor is your live 1:1 expert mentor helping you in real time.

comments powered by Disqus
Codementor is your live 1:1 expert helping you in real time