Skip to content

Instantly share code, notes, and snippets.

@jimmont
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jimmont/8bc358bd30110c76055d to your computer and use it in GitHub Desktop.
Save jimmont/8bc358bd30110c76055d to your computer and use it in GitHub Desktop.
Angular expression collection. Or something like that.
<script>
$scope.ping;
$scope.j = 4;
$scope.stuff = [3,7,1,0];
$scome.time = new Date
</script>
<hr ng-init="ping=[1,2,3]" ng-bind="::once" ng-attr-j="::{{ 1 + jOnce }}" ng-repeat="a in b = (stuff | orderBy: 'toString()' ) track by $index">
<time ng-attr-title="{{ time | date:'EEEE MMMM d, yyyy h:mm:ss a (\'GMT\'Z)' }}">{{time | date:'MM/dd/yy HH:mm:ss'}}</time>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment