Resolve issues with webcam with angular 1.3.7.