Build An Angular 2 Spotify App - Part 3

preview_player
Показать описание
In this video we will setup the search component in Angular 2 and setup a service to interact with the Spotify API to fetch information about the specified artists and albums

This project is part of an Eduonix 12 project course in Angular 2.
Рекомендации по теме
Комментарии
Автор

How does this work without a Bearer token?

bogomilstoynov
Автор

As of a few days ago, Soundcloud's API has changed and I get a 401 error, No token provided. Do you know how to get around this?

MayowaOjo
Автор

I got lost with the router, newer versions changed, need another uptodate tutorial

randompointlessness
Автор

Anyone else getting an error when using the [(ngModel)]="searchStr" ? This attribute isn't working for me, the warning I get says :NgModule DynamicModule uses SearchComponent via "entryComponents" but it was neither declared nor imported! This warning will become an error after final. : and an error : zone.js:484 Unhandled Promise rejection: Template parse errors:
Can't bind to 'ngModel' since it isn't a known property of 'input'. ("
<form>
<div class="form-group">
<input type="text" name="searchStr" [ERROR ->][(ngModel)]="searchStr" (keyup)="searchMusic()" class="form-control" placeholder="Search for music...") .

I see there are recent changes to angular in how ngModule is used... Anyone have some insight?

adan-codes
Автор

If you could advice wtf - tried all I could find online but still getting same error.

Jdtv