Tag Archives: sort

Filters

Uppercase: http://www.w3schools.com/angular/filters_uppercase Lowercase: http://www.w3schools.com/angular/filters_lowercase OrderBy: http://www.w3schools.com/angular/filters_orderby / desc Date: new Date() / dd.MM.y / fullDate / MMMM d, y Number: http://www.w3schools.com/angular/tryit.asp?filename=try_ng_ref_number / decimal Currency: http://www.w3schools.com/angular/filters_currency / currency Filter: http://www.w3schools.com/angular/filters_filter / filter object / strict comparison LimitTo: http://www.w3schools.com/angular/tryit.asp?filename=try_ng_ref_limitto / end / begin / string / number Filter on User Input: http://www.w3schools.com/angular/filters_input Filter Sort: http://www.w3schools.com/angular/orderby_click Custom Filter: http://www.w3schools.com/angular/filters_custom Button Filter: ng-click=”order = ‘x’”

Posted in AngularJS | Tagged , , , , , , , ,

Arrays

Find Element in Array: {{ array[2] }} OR ng-bind=”array[2]” List Array Elements: ng-repeat=”x in array” / example2 List an Array of Objects:  ng-repeat=”x in array {{ x.key1 + ‘, ‘ + x.key2 }}  ng-repeat=”x in array” {{x}} ng-repeat=”x in array” ng-repeat=”(x, y) in myObj” https://jsfiddle.net/aicccia/smez33q6/ List an … Continue reading

Posted in AngularJS | Tagged , , , , , , , , , , , , , , , ,

Content

Get & Set Content: text() Make Text Appear / Change Text: html() / on(‘click’, function() {}) / text() Show Text when Clicked: append() / append() / append() Show Attribute Data when Clicked: append() Make Element Appear: show() / fadeIn() / css(‘prop’, ‘value’) Make Element Disappear: hide() / fadeOut() / css(‘prop’, … Continue reading

Posted in jQuery | Tagged , , , , , , , , , , , , , , , , , , , , , , , ,