DzinX

Poland

I ❤ Python

Apr
13
awarded Autobiographer
Apr
13
awarded Supporter
Apr
3
awarded Nice Answer
Mar
29
awarded Popular Question
Jan
12
awarded Necromancer
Dec
5
awarded Announcer
Oct
27
revised Value set by ng-model is not updated in the controller
Better title.
Oct
27
revised Find all elements containing a value in an attribute
clarified title
Oct
27
answered Value set by ng-model is not updated in the controller
Oct
22
awarded Autobiographer
Oct
22
awarded Supporter
Oct
14
revised javascript validate select dropdown
edited title
Oct
13
comment angularjs - ui.router not rendering ui-view immediately
Basically, you need a dispatcher in the parent state if you want to use nested states with empty URLs. See the second part of my answer to another question.
Oct
13
answered angularjs - ui.router not rendering ui-view immediately
Oct
3
answered Using ng-repeat on a JSON object doesn't work - why?
Oct
3
comment How to close Angular-bootstrap popover when clicking outside
Don't do that, it's very ineffective. I just remembered: element is a jqLite instance, you need to call element[0] to get the DOM element. So your if statement would be: if (!element[0].contains(event.target)) {...
Oct
2
comment How to close Angular-bootstrap popover when clicking outside
Strange, element should always be a Node... Can you debug and check what type it is exactly?
Oct
2
comment How to close Angular-bootstrap popover when clicking outside
I think you can emulate this by e.g. if (!element.contains(event.target)) {...
Oct
2
answered How to close Angular-bootstrap popover when clicking outside
Oct
2
comment Range-based intersection of n-number of arrays
No. Quoting OP: "[...] which would return all ranges of max 'width' of range containing 1 or more elements from all arrays". Those arrays are not max 'width' (i.e. containing the maximum number of elements while still satisfying the range constraint and containing at least one element from each array). Also, with your reasoning, the original OP's example would return 5 arrays instead of 3.
1 2 3 4 5