Me neither, I found some post saying that it wasn't a good idea to define functions
within a directive, which is why I tried to pull it out into a controller.
----- Original Message -----
From: "Bill Burke" <bburke(a)redhat.com>
To: "Stian Thorgersen" <stian(a)redhat.com>
Cc: keycloak-dev(a)lists.jboss.org
Sent: Friday, 4 September, 2015 3:34:27 PM
Subject: Re: [keycloak-dev] KEYCLOAK-1794
Bizarre! Sometimes Angular is really weird...All you did was add a
controller and the scopes magically behaved as you would expect... I
just don't get it...
On 9/4/2015 4:20 AM, Stian Thorgersen wrote:
> Sorted - not 100% sure how, but I fixed it ;)
>
> ----- Original Message -----
>> From: "Bill Burke" <bburke(a)redhat.com>
>> To: keycloak-dev(a)lists.jboss.org
>> Sent: Thursday, 3 September, 2015 10:39:26 PM
>> Subject: [keycloak-dev] KEYCLOAK-1794
>>
>> Angular people take a look at this:
>>
>>
https://issues.jboss.org/browse/KEYCLOAK-1794
>>
>> I swear this used to work. It looks like the scope within the ng-repeat
>> inherits from the parent scope instead of the isolated scope of the
>> directive. I've tried a ton of stuff to no avail...Any ideas?
>>
>> I'm thinking of pulling out the ng-repeat from the template and doing it
>> within the actual page. This is the only thing I can think to do at
>> this time. I'm nervous that the role dialog will now no longer work too.
>>
>>
>> --
>> Bill Burke
>> JBoss, a division of Red Hat
>>
http://bill.burkecentral.com
>> _______________________________________________
>> keycloak-dev mailing list
>> keycloak-dev(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/keycloak-dev
>>
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com