Giter Club home page Giter Club logo

angular-projects's People

Contributors

jane-25 avatar mohammedzamakhan avatar packt-itservice avatar sarvesh-packt avatar smitcarvalho avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

angular-projects's Issues

Mockable endpoints not available

The mockable.io endpoints in the source code and referenced in chapter 3 are not available (report a 404). Can I suggest providing a template for the reader to host these with their own mockable account?

Problem with emit method

Hi, I have a problem with the code in flash.component.ts in chapter 2 (ng-flashcard project):

  markCorrect() {
    this.onRememberedChange.emit({
      id: this.flash.id.toString(),
      flag: 'correct'
    })
  }

I receive this error : error TS2345: Argument of type '{ id: string; flag: string; }' is not assignable to parameter of type 'string'.

I think the method emit accepts obly strings not object. Please help me thanks.

Inventory-app: product.component.ts, type of features in ngOnInit is wrong.

`

ngOnInit() {

if (this.product) {

    this.productForm.setValue({
        basic: {

            features: this.product.features || [''],
        },
        expiration: {

        }
    });

    this.deviceType = this.product.type;
}

}`

When you run the above code you will not see a problem in the console. Yet I caught it when I was about to edit the newly added item to the products list. Upon the pop up of the modal the device type is set to the default while it should be set to the value the user has chosen.

As you can see, the features type should be an array or an empty array.

You can solve it by casting / enclosing the this.product.features in[to] an array [ this.product.features ].

Riddled with errors - a collection of Errata severely needed.

p29 "../node_modules/bulma/css/bulma.min.css"

It should begin with current directory, not go up to parent.

p37: const flashId = this.flashs.indexOf(flash => flash.id === id);

I assume you mean 'findIndex' here?

And what's going on with the "Suggestions and Feedback" section in the README.md? It contains a dead link.

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.