messed up angular stuff