add smart admin with angularJS