angular-media-player
angular-media-player copied to clipboard
Use $parse for assigning media-player attribute
The scope[mediaName] attribution doesn't work for nested scopes. By using the $parse service, it is possible to assign the mediaName to a "parent" scope using dot notation: media-player = a.b.c. My specific use case is mixing this directive with the bg-splitter directive.