CakePHP Date-time to AngularJS date time
CakePHP created and modified dates are in the format “Y-m-d H:i:s” where AngularJS expects the date to be in Unix format to be able to format.
Using UnderscoreJS with AngularJS
Sharing code between controllers
Initially, I struggled to find what could be a proper way to share a common functionality in AngularJS. For example, I was using multiple controllers in my app and I wanted a common place to show error, success, info messages at one place.
This could be achieved in AngularJS by sharing a service.
I wanted to use a loading progress bar, something similar used on YouTube. Finally, I found a plugin, Angular Loading Bar, that calculates correct progress time based on simultaneous HTTP requests and works fine with AngularJS project.
Subscribe to Rakesh Tembhurne
Get the latest posts delivered right to your inbox