Prime Number Table written in native AngularJS