fixed jshint, angular parts declarations without temporary variable