Make HTML5 and AngularJS pages consistent