Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <input id="city" class="form-control" [placeholder]="placeholder">
- import { Component } from '@angular/core';
- @Component({
- selector: 'my-app',
- templateUrl: './app.component.html',
- styleUrls: [ './app.component.css' ]
- })
- export class AppComponent {
- placeholder = 'Angular';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement