model fixes
using angular.bootstrap module