build simple acl for angularjs demo app