Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Angular & Co

Avatar for Inal Djafar Inal Djafar
September 28, 2013

Angular & Co

[French] Tips to handle tables, list related features (pagination, sorting, filtering, ...) easily with Angular.

Avatar for Inal Djafar

Inal Djafar

September 28, 2013
Tweet

More Decks by Inal Djafar

Other Decks in Programming

Transcript

  1. MODAL • un service $modal contient une méthode open. •

    open(options) prend un objet d’options, et renvoie une instance de modalInstance. • $modalInstance(service) contient plusieurs méthodes
 close(result), dismiss(reason), result, opened. • modalInstance.result.then(function(closeResult){}, function(dismissReason){}) • opened - une promise qui va être résolu une fois que le template est affiché et les variables chargées. promises
  2. NG TABLE++ • Pagination • Sorting • Filtering • Cell

    template • Row template • Ajax • Custom template(pagination) • Custom filters • Table with checkboxes • Table with grouping • Table with grouping with callback • Table with external control of data • Export to CSV