Bossable.com: AngularJS Custom Actions for ExpressJS

preview_player
Показать описание
In this video we look at how you can call ExpressJS controllers using custom actions in your AngularJS resources.

- We create a new express method on a server controller - in order to count the number of records in our Customers collection,
- We create a new express route
- We add a custom action to an AngularJS service
- We call the custom action from an Angular controller
- We display the result of the count in our view

Lastly, we also look at displaying the returned count within an ng-repeat using 2 way data binding!

------
Рекомендации по теме
Комментарии
Автор

Thank you very much....i really love your way of teaching and simplifying things for noobs like me....
Your Honululu challenge also helped me a lot to kick start myself....
On this note, I would like to make a request....Can u post videos explaining AUTHENTICATION and AUTHORIZATION based on user roles both in Angularjs and server side....It is very confusing all over the internet about these concepts
I am confident you would easily decipher these concepts for people like and me and be a great help.
Thanks in advance! btw You are really a good teacher!

kondaarun
Автор

For a noob this seems like a big and complex fuss to perform a very simple task. Especially the router is weird, why cannot you just address database things directly? Is it some security thing

PekkaSaauri