add AngularJS-UI and fix a ==/equals() bug in AR