bootstrap angularjs and some house-cleaning