Night mode switch on AngularJS way