remove encapsulation

Removed encapsulation in favor of letting ng-min take care of it, which should be used in angular projects these days.

See https://github.com/btford/ngmin for more information.