Allow for minification

Add the function into an array notation, the Angular way of allowing for minifcation