updated from latest angular-pages dist