fixed variable error, angular now works