Fixed angular js issue with minification