Ruben Vermeersch

Results 194 comments of Ruben Vermeersch

Nope, there isn't, not if you have scope variables in there. If you have a string without any variables, you might be able to do a reverse-lookup through the strings...

Not yet, but I've been wanting to add it. I'd look something like this to match Angular.JS style: ``` html ```

Anyone who wants to have a go at implementing this: go for it.

This should become: ``` js {{"1 car" | translatePlural:n:"$count cars"}} {{"1 car" | translatePlural:n:"$count cars":"domain"}} // With a domain ```

Did you load the select2 library?

Select2 4.x isn't supported yet, see #18. You need a 3.5.x version.

> can I make a PR with this improvement Certainly! Always welcome!

Should work, but an `ng-model` directly on the scope won't: ``` html $scope.foo = null; $scope.bar = null; ``` https://egghead.io/lessons/angularjs-the-dot

> I'm sorry, I don't understand what you mean. Check the video I linked. Anyway, that's not an angular-select2 issue, but you will be in trouble if you don't learn...

> Might I suggest a solution where the directive checks wether or not the value is a String or an object, and if it's an object check for an id...