Understanding Angular JS promises

Promises are one of the most powerful concepts for Angular and JavaScript. They enable your application to perform other tasks while waiting for the result of another operation. According to the official documentation, A service that helps you run functions asynchronously, and use their return values (or exceptions) when they are done processing. When do…
Read More >

Angular JS, Understanding $emit, $broadcast and $on

In late 2015 I started working with Angular JS as part of a project at work (Hybrid mobile app). Understanding the concepts¬†is quite important to make use of it in an efficient and extendable¬†way. Angular JS provides us with some events that we can use to communicate between controllers. They are $on, $emit and $broadcast.…
Read More >