Giter Site home page Giter Site logo

angular2-training's Introduction

Shop

This is test project for angular training, some kind of ecommerce web app.

Homework 3

  1. CartService './app/cart/cart.service'
  2. StoreService for working with LocalStorage './common/store.service'
  3. skip
  4. ConstService './common/const.service';
  5. RandomService './common/random.service';
  6. OptionalComponent './optional/optional.component';
  7. ChangeStyleDirective './directives/change-style.directive

Homework 4

  1. Used currency pipe for formatting price of product. './products/product/product.component.html'
  2. Created pipe Orderby for sorting list of products. './pipes/order-by.pipe' used in './products/product/product.component.html'

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

angular2-training's People

Watchers

 avatar  avatar

angular2-training's Issues

product.service.ts

В методе getProductById лучше использовать не filter, а find. Первый возвращает массив, а второй элемент.

Организация проекта

Немного неудобная организация проекта, так как каждый раз необходимо инсталлировать зависимости заново или копировать. Подумайте над реорганизацией проекта.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.