Moved directives pictureEdit and passwordStrength into coffeescript