Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants