Change window to the $window service
Localise bower files
Allow options to be passed directly to form (not through scope)