fix to hasHead and hasTail
Replaced ngmin with ng-annotate. Using uglify wrapper
Changed consts
build 0.2.1