brandly / brandly/angular-youtube-embed

bug: `youtube-video` directive won't compile

Open
#100 12 comments 0 reactions 0 assignees View on GitHub
help
Dominant language
HTML
Stars
505
Forks
145
PR merge metrics
No merged PRs in 30d

Description

I've installed via `npm install` (and I tried `bower` first even though I saw your last commit was to try and discourage people from using bower) and I can't get the directive to compile. I can see your script on my page and it's included as a dependency in my app. The `` is just sitting in the DOM uncompiled.

No errors are being thrown in the console.

Here's how I'm including it in my project:

``` javascript
import '../node_modules/angular-youtube-embed/dist/angular-youtube-embed.min.js';

angular.module('myApp', [

// App Plugins
'ionic',
'youtube-embed'
])
```

I'd prefer to bower install it and include it as a external script on my page as the I've done with the rest of my front end packages but I'm fine as long as it works.

Thanks for any help!

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue with the shown youtube-video markup, the import of dist/angular-youtube-embed.min.js, and the youtube-embed Angular module dependency. Inspect the directive registration and package entry points first; done means the element compiles into a YouTube embed without console errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.