Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Controller is loading 2 times #63

Open
karangula opened this issue Sep 18, 2017 · 1 comment
Open

Controller is loading 2 times #63

karangula opened this issue Sep 18, 2017 · 1 comment

Comments

@karangula
Copy link

Hi Team,

I used this directive in my application.
After using this I observed controller is loading 2 times.

Code in controller.

$http.get($sce.trustAsResourceUrl(url), {
responseType: 'arraybuffer',
}).then(function (response) {
vm.data = new Uint8Array(response.data);
});

Thanks,
Ravi.K

@bugspunny
Copy link

@karangula Did you ever find a fix for this issue? Moving to HTML5 mode seems to have fixed it for me but its such a strange issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants