* sync of current status with external repo.
*- added const
*- changed window to $window
*- upgraded angular version
*- etc