I'm doing a design with angular js and using the design lite (mdl) material for the layout. Some features of mdl require a javascript file to work, but this file has some loading, sometimes not. I believe the browser ends up loading the mdl javascript file before angular loading the content into ng-view. Does anyone know how I can fix this?