fix FOUC for mobile-view directives
Avoid FOUC for angular directives