• Stars
    star
    434
  • Rank 100,274 (Top 2 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 10 years ago
  • Updated about 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A tasty collection of reusable UI components for Angular, like grandma used to make. Like Table directive, WebSocket / Debounce / Throttle service, Range / Camelize / Slugify filters

#ngTasty

Bower version NPM version NPM Downloads Build Status Coverage Status

A lightweight, flexible, and tasty collection of reusable UI components for AngularJS, like grandma used to make.

Live demo visit http://zizzamia.com/ng-tasty/

Quick start

Installing via Bower

bower install ng-tasty

or installing via NPM

npm install ng-tasty

Include the required bower component:

<script src="bower_components/ng-tasty/ng-tasty-tpls.min.js"></script>

Inject the ngTasty module into your app:

angular.module('myApp', ['ngTasty']);

Development

For running the dev environment you just need install all the dependencies by npm, the node package manager.

npm install -g bower
npm install -g gulp
npm install -g http-server
npm install -g protractor
webdriver-manager update
npm install
bower install

Run dev environment, it's a watch script with several task running like jshint, html2js, build and unit test on the js build files.

gulp build

During development keep running all main gulp task by using the watch task.

gulp watch

Run demo app

We have pre-configured the demo with a simple development web server.
Here the Website Readme.

Unit Tests

The easiest way to run the unit tests is to use the supplied gulp script:

gulp test

Docs

The main docs you will find at http://zizzamia.com/ng-tasty/ , here the list of all components, service, filters supported.

Component

Service

Filter

Benchpress

Benchpress allows creation and sampling of macro benchmarks to compare performance of real world web applications.

npm install -g benchpress

Bower install all benchmark dependencies

cd benchmarks/dist/
bower install

Run ngTasty benchmark from base folder

bower install
protractor benchmarks/protractor.conf.js --specs benchmarks/dist/benchmark.spec.js

Open benchmark with Chrome

http-server -p 8000
http://localhost:8000/benchmarks/dist/

Latest Benchmark v0.5.2

ngtasty.table.reference

          gcAmount |   gcAmountInScript |             render |             script
------------------ | ------------------ | ------------------ | ------------------
            621.10 |             194.23 |              11.14 |               9.83

ngtasty.table.collection

          gcAmount |   gcAmountInScript |             render |             script
------------------ | ------------------ | ------------------ | ------------------
            766.28 |               0.00 |              11.06 |              11.17

ngtasty.table.equality

          gcAmount |   gcAmountInScript |             render |             script
------------------ | ------------------ | ------------------ | ------------------
          29557.73 |           41947.09 |              10.86 |             110.40

More about how I run this benchmark on my talk #ngTasty Building high performance measurable directives at ngconf

Changelog

https://github.com/Zizzamia/ng-tasty/CHANGELOG.md

Who's using #ngTasty?

Creator

Designed and built by Leonardo Zizzamia, like grandma used to make.

Tasty Contributors: @proudlygeek, @wesww, @aganglada, @alexcasalboni, @bogdan-alexandrescu, @yagoferrer

More Repositories

1

perfume.js

Web performance library for measuring all performance vitals metrics
TypeScript
3,106
star
2

a-frame-in-100-lines

Farcaster Frames in less than 100 lines, and ready to be deployed to Vercel.
TypeScript
218
star
3

an-onchain-app-in-100-components

An Onchain App in less than 100 components, and ready to be deployed to Vercel.
TypeScript
11
star
4

san-francisco-the-good-parts

San Francisco: The Good Parts! An opinionated travel guide ☕️ 🌴 ☀️
9
star
5

tasty-flask-app

Beginning Web Dev with Flask, Bootstrap and AngularJS.
Python
8
star
6

generator-benchpress

benchpress
JavaScript
7
star
7

generator-ngtasty

This generator is the scaffolding tool for generate by Yeoman your collection of reusable UI components for AngularJS.
JavaScript
6
star
8

taste-of-angularjs

A Taste of AngularJS: Javascript framework for superheroes
CSS
4
star
9

zizzamia.com

My personal web site in Node.js and CoffeeScript.
JavaScript
4
star
10

angularjs-essentials

AngularJS Essentials
CSS
3
star
11

generator-ng-flask

A tasty scaffold for AngularJS and Flask.
JavaScript
3
star
12

zizzamia.github.io

HTML
2
star
13

angular-mocks

Npm package for angular-mocks.js
2
star
14

bower-ng-tasty

Bower package for the stable branch of ngTasty
JavaScript
2
star
15

building-high-performance-measurable-directives

#ngTasty - Building high performance measurable directives
JavaScript
2
star
16

the-secret-life-cycle-of-components

The Secret Life(cycle) of Components. There is an entire world of complex interactions happening just under the surface of an Angular application.
HTML
2
star
17

rendering-in-angular-2

Angular 2.0 will provide support for custom renderers and platforms. With custom renderers we can have our component/application code render itself differently for a browser, a desktop-level application, a mobile phone or on a watch. We can also leverage native-level code or package our application into a webview.
JavaScript
2
star
18

ultra-simple-blogging

It's an ultra-simple blogging tool with create, edit and delete functionality for articles, using Django on Google App Engine.
Python
1
star
19

talk

JavaScript
1
star
20

angular-2-ngupgrade

Basic migration
JavaScript
1
star
21

angular-app-in-production-lightning-talk

Running an AngularJS App in Production Lightning talk
JavaScript
1
star