fixed angular js , moved scripts from head to body