Bit by bit, piece by piece, we are adding a number of enhancements to the 7 Minute Workout app that are imperative for any professional app. There is still scope for new features and improvements but the core app works just fine and can be used without any major hiccups.
We started our journey by fixing the exercise step content formatting issue, where we learned about how to use ng-bind-html
to bind HTML data and the role $sce
service plays when it comes to keeping our HTML safe.
We then added audio support in our app. In the process, we learned how to extend the app's functionality without altering the existing controller; instead, we created a new MVC subcomponent.
While adding audio support, we also learned about the change tracking infrastructure of AngularJS and got introduced to concepts such as dirty checking and digest cycles.
Pausing and resuming exercises was another useful feature that we added. We learned about the keyboard and mouse-based directives that Angular provides...