move use strict declarations to inside functions

Fixes https://github.com/angular-ui/ui-utils/issues/201