Fix - Minification issue (angular dependency) and global object preservation