├── README.md ├── angular-allow-only-numerics-digits-textbox-field ├── package-lock.json ├── package.json ├── readme.rst └── src │ ├── app │ ├── app.component.css │ ├── app.component.html │ ├── app.component.spec.ts │ ├── app.component.ts │ └── app.module.ts │ └── index.html ├── angular-autocomplete ├── package-lock.json ├── package.json ├── readme.rst └── src │ ├── app │ ├── app-routing.module.ts │ ├── app.component.css │ ├── app.component.html │ ├── app.component.spec.ts │ ├── app.component.ts │ ├── app.module.ts │ ├── search.service.spec.ts │ └── search.service.ts │ └── assets │ └── data │ └── results.json ├── angular-check-uncheck-individual-all-checkbox-table-rows ├── readme.rst ├── version-13 │ └── src │ │ ├── app │ │ ├── app.component.css │ │ ├── app.component.html │ │ ├── app.component.spec.ts │ │ ├── app.component.ts │ │ ├── app.module.ts │ │ ├── product.service.ts │ │ └── product.ts │ │ └── index.html └── version-9 │ ├── package-lock.json │ ├── package.json │ └── src │ ├── app │ ├── app.component.css │ ├── app.component.html │ ├── app.component.spec.ts │ ├── app.component.ts │ ├── app.module.ts │ ├── product.service.ts │ └── product.ts │ └── index.html ├── angular-cut-copy-paste-prevention ├── package.json ├── readme.rst └── src │ ├── app │ ├── app.component.html │ ├── app.component.ts │ ├── app.config.server.ts │ ├── app.config.ts │ ├── app.routes.ts │ └── disable-cut-copy-paste.directive.ts │ └── index.html ├── angular-delete-multiple-rows-from-table ├── readme.rst ├── version-13 │ └── src │ │ ├── app │ │ ├── app.component.css │ │ ├── app.component.html │ │ ├── app.component.spec.ts │ │ ├── app.component.ts │ │ ├── app.module.ts │ │ ├── product.service.ts │ │ └── product.ts │ │ └── index.html └── version-9 │ ├── package-lock.json │ ├── package.json │ └── src │ ├── app │ ├── app.component.css │ ├── app.component.html │ ├── app.component.spec.ts │ ├── app.component.ts │ ├── app.module.ts │ ├── product.service.ts │ └── product.ts │ └── index.html ├── angular-dependent-dropdown ├── angular-17 │ ├── package.json │ └── src │ │ └── app │ │ ├── app.component.css │ │ ├── app.component.html │ │ ├── app.component.ts │ │ ├── app.config.server.ts │ │ ├── app.config.ts │ │ └── app.routes.ts ├── package_11.json ├── package_8.json ├── readme.rst └── src │ ├── app │ ├── app-routing.module.ts │ ├── app.component.css │ ├── app.component.html │ ├── app.component.spec.ts │ ├── app.component.ts │ └── app.module.ts │ └── index.html ├── angular-file-download ├── readme.rst ├── version-13 │ └── angular-file-download │ │ ├── package-lock.json │ │ ├── package.json │ │ └── src │ │ ├── app │ │ ├── app-routing.module.ts │ │ ├── app.component.css │ │ ├── app.component.html │ │ ├── app.component.spec.ts │ │ ├── app.component.ts │ │ ├── app.module.ts │ │ ├── file.service.spec.ts │ │ └── file.service.ts │ │ └── index.html ├── version-15 │ └── angular-file-download │ │ ├── package-lock.json │ │ ├── package.json │ │ └── src │ │ ├── app │ │ ├── app-routing.module.ts │ │ ├── app.component.css │ │ ├── app.component.html │ │ ├── app.component.ts │ │ ├── app.module.ts │ │ └── file.service.ts │ │ └── index.html └── version-upto-12 │ └── angular-file-download │ └── app │ ├── app-routing.module.ts │ ├── app.component.css │ ├── app.component.html │ ├── app.component.spec.ts │ ├── app.component.ts │ ├── app.module.ts │ └── file.service.ts ├── angular-flask-rest-mongodb ├── package.json ├── readme.rst └── src │ └── app │ ├── app-routing.module.ts │ ├── app.component.html │ ├── app.component.spec.ts │ ├── app.component.ts │ ├── app.module.ts │ ├── user-add │ ├── user-add.component.html │ ├── user-add.component.spec.ts │ └── user-add.component.ts │ ├── user-detail │ ├── user-detail.component.html │ ├── user-detail.component.spec.ts │ └── user-detail.component.ts │ ├── user-edit │ ├── user-edit.component.html │ ├── user-edit.component.spec.ts │ └── user-edit.component.ts │ ├── user-list │ ├── user-list.component.html │ ├── user-list.component.spec.ts │ └── user-list.component.ts │ ├── user.service.ts │ └── user.ts ├── angular-flask ├── package.json ├── readme.rst ├── server.ts └── src │ └── app │ ├── app.component.html │ ├── app.component.ts │ ├── app.config.server.ts │ ├── app.config.ts │ ├── app.routes.ts │ ├── user-add │ ├── user-add.component.html │ └── user-add.component.ts │ ├── user-detail │ ├── user-detail.component.html │ └── user-detail.component.ts │ ├── user-edit │ ├── user-edit.component.html │ └── user-edit.component.ts │ ├── user-list │ ├── user-list.component.html │ └── user-list.component.ts │ ├── user.service.ts │ └── user.ts ├── angular-html-table-alternate-row-color ├── readme.rst ├── version-13 │ └── src │ │ ├── app │ │ ├── app.component.css │ │ ├── app.component.html │ │ ├── app.component.spec.ts │ │ ├── app.component.ts │ │ ├── app.module.ts │ │ ├── product.service.ts │ │ └── product.ts │ │ └── index.html └── version-9 │ ├── package-lock.json │ ├── package.json │ └── src │ ├── app │ ├── app.component.css │ ├── app.component.html │ ├── app.component.spec.ts │ ├── app.component.ts │ ├── app.module.ts │ ├── product.service.ts │ └── product.ts │ └── index.html ├── angular-image-upload-display ├── package-lock_11.json ├── package-lock_8.json ├── package_11.json ├── package_8.json ├── readme.rst └── src │ ├── app │ ├── app-routing.module.ts │ ├── app.component.css │ ├── app.component.html │ ├── app.component.spec.ts │ ├── app.component.ts │ └── app.module.ts │ └── index.html ├── angular-jest-unit-test ├── jest.config.ts ├── package.json ├── readme.rst ├── setup-jest.ts ├── src │ └── app │ │ ├── app-routing.module.ts │ │ ├── app.component.html │ │ ├── app.component.spec.ts │ │ ├── app.component.ts │ │ └── app.module.ts └── tsconfig.spec.json ├── angular-load-local-json ├── package-lock.json ├── package-lock_angular14.json ├── package.json ├── package_angular14.json ├── readme.rst └── src │ ├── app │ ├── app-routing.module.ts │ ├── app.component.css │ ├── app.component.html │ ├── app.component.spec.ts │ ├── app.component.ts │ ├── app.module.ts │ ├── file.service.spec.ts │ └── file.service.ts │ └── assets │ └── data │ └── results.json ├── angular-multiple-environments-setup ├── angular.json ├── package-lock.json ├── package.json ├── readme.rst └── src │ ├── app │ ├── app-routing.module.ts │ ├── app.component.css │ ├── app.component.html │ ├── app.component.spec.ts │ ├── app.component.ts │ └── app.module.ts │ ├── environments │ ├── environment.prod.ts │ ├── environment.sit.ts │ ├── environment.ts │ └── environment.uat.ts │ └── index.html ├── angular-okta-sso-role-based-access ├── package-lock.json ├── package.json ├── readme.rst └── src │ ├── app │ ├── app-routing.module.ts │ ├── app.component.css │ ├── app.component.html │ ├── app.component.spec.ts │ ├── app.component.ts │ ├── app.module.ts │ ├── auth.guard.spec.ts │ ├── auth.guard.ts │ ├── auth.service.spec.ts │ ├── auth.service.ts │ ├── dashboard │ │ ├── dashboard.component.css │ │ ├── dashboard.component.html │ │ ├── dashboard.component.spec.ts │ │ └── dashboard.component.ts │ ├── expired.component.ts │ ├── login │ │ ├── login.component.css │ │ ├── login.component.html │ │ ├── login.component.spec.ts │ │ └── login.component.ts │ ├── protected │ │ ├── protected.component.css │ │ ├── protected.component.html │ │ ├── protected.component.spec.ts │ │ └── protected.component.ts │ ├── token.service.spec.ts │ ├── token.service.ts │ ├── unauthorized.component.ts │ └── updatepage │ │ ├── updatepage.component.css │ │ ├── updatepage.component.html │ │ ├── updatepage.component.spec.ts │ │ └── updatepage.component.ts │ ├── environments │ ├── environment.prod.ts │ └── environment.ts │ └── index.html ├── angular-okta-sso ├── package-lock.json ├── package.json ├── readme.rst └── src │ ├── app │ ├── app-routing.module.ts │ ├── app.component.css │ ├── app.component.html │ ├── app.component.spec.ts │ ├── app.component.ts │ ├── app.module.ts │ └── auth │ │ ├── auth.component.css │ │ ├── auth.component.html │ │ ├── auth.component.spec.ts │ │ └── auth.component.ts │ ├── assets │ └── .gitkeep │ ├── environments │ ├── environment.prod.ts │ └── environment.ts │ ├── favicon.ico │ ├── index.html │ ├── main.ts │ ├── polyfills.ts │ ├── styles.css │ └── test.ts ├── angular-parent-child-data-share ├── package.json ├── readme.rst └── src │ └── app │ ├── app-routing.module.ts │ ├── app.component.html │ ├── app.component.ts │ ├── app.module.server.ts │ ├── app.module.ts │ └── child │ ├── child.component.html │ └── child.component.ts ├── angular-photo-gallery ├── angular.json ├── package-lock.json ├── package.json ├── readme.rst └── src │ ├── app │ ├── app-routing.module.ts │ ├── app.component.css │ ├── app.component.html │ ├── app.component.ts │ └── app.module.ts │ ├── assets │ └── images │ │ ├── image1.jpg │ │ ├── image10.jpg │ │ ├── image11.jpg │ │ ├── image12.jpg │ │ ├── image2.jpg │ │ ├── image3.jpg │ │ ├── image4.jpg │ │ ├── image5.jpg │ │ ├── image6.jpg │ │ ├── image7.jpg │ │ ├── image8.jpg │ │ ├── image9.jpg │ │ └── thumbs │ │ ├── image1.jpg │ │ ├── image10.jpg │ │ ├── image11.jpg │ │ ├── image12.jpg │ │ ├── image2.jpg │ │ ├── image3.jpg │ │ ├── image4.jpg │ │ ├── image5.jpg │ │ ├── image6.jpg │ │ ├── image7.jpg │ │ ├── image8.jpg │ │ └── image9.jpg │ └── index.html ├── angular-prevent-new-line-text-box ├── package-lock.json ├── package.json ├── readme.rst └── src │ ├── app │ ├── app-routing.module.ts │ ├── app.component.html │ ├── app.component.ts │ └── app.module.ts │ └── index.html ├── angular-reactive ├── readme.rst └── src │ └── app │ ├── app-routing.module.ts │ ├── app.component.html │ ├── app.component.spec.ts │ ├── app.component.ts │ ├── app.module.ts │ ├── website-add │ ├── website-add.component.html │ ├── website-add.component.spec.ts │ └── website-add.component.ts │ ├── website-detail │ ├── website-detail.component.html │ ├── website-detail.component.spec.ts │ └── website-detail.component.ts │ ├── website-edit │ ├── website-edit.component.html │ ├── website-edit.component.spec.ts │ └── website-edit.component.ts │ ├── website-list │ ├── website-list.component.html │ ├── website-list.component.spec.ts │ └── website-list.component.ts │ ├── website.service.ts │ └── website.ts ├── angular-reusable-button-component ├── package.json ├── readme.rst └── src │ └── app │ ├── app-routing.module.ts │ ├── app.component.html │ ├── app.component.ts │ ├── app.module.server.ts │ ├── app.module.ts │ └── button │ ├── button.component.css │ ├── button.component.html │ └── button.component.ts ├── angular-spring-boot-crud-app ├── package-lock.json ├── package.json ├── readme.rst └── src │ └── app │ ├── app-routing.module.ts │ ├── app.component.css │ ├── app.component.html │ ├── app.component.spec.ts │ ├── app.component.ts │ ├── app.module.ts │ ├── website-add │ ├── website-add.component.css │ ├── website-add.component.html │ ├── website-add.component.spec.ts │ └── website-add.component.ts │ ├── website-detail │ ├── website-detail.component.css │ ├── website-detail.component.html │ ├── website-detail.component.spec.ts │ └── website-detail.component.ts │ ├── website-edit │ ├── website-edit.component.css │ ├── website-edit.component.html │ ├── website-edit.component.spec.ts │ └── website-edit.component.ts │ ├── website-list │ ├── website-list.component.css │ ├── website-list.component.html │ ├── website-list.component.spec.ts │ └── website-list.component.ts │ ├── website.model.ts │ ├── website.service.spec.ts │ └── website.service.ts ├── angular-spring-boot-jwt-auth ├── package-lock.json ├── package.json ├── readme.rst └── src │ ├── app │ ├── app-routing.module.ts │ ├── app.component.css │ ├── app.component.html │ ├── app.component.spec.ts │ ├── app.component.ts │ ├── app.module.ts │ ├── auth.service.spec.ts │ ├── auth.service.ts │ ├── greeting.service.spec.ts │ ├── greeting.service.ts │ ├── home │ │ ├── home.component.css │ │ ├── home.component.html │ │ ├── home.component.spec.ts │ │ └── home.component.ts │ ├── httpInterceptor.service.ts │ ├── request.model.ts │ ├── signin │ │ ├── signin.component.css │ │ ├── signin.component.html │ │ ├── signin.component.spec.ts │ │ └── signin.component.ts │ └── signup │ │ ├── signup.component.css │ │ ├── signup.component.html │ │ ├── signup.component.spec.ts │ │ └── signup.component.ts │ └── index.html ├── angular-springboot-security ├── package.json ├── readme.rst └── src │ ├── app │ ├── app-routing.module.ts │ ├── app.component.html │ ├── app.component.ts │ ├── app.module.ts │ ├── auth.service.ts │ ├── home │ │ ├── home.component.html │ │ └── home.component.ts │ ├── httpInterceptor.service.ts │ └── login │ │ ├── login.component.css │ │ ├── login.component.html │ │ └── login.component.ts │ └── index.html ├── angular-star-rating ├── angular.json ├── package-lock.json ├── package.json ├── readme.rst └── src │ ├── app │ ├── app.component.css │ ├── app.component.html │ ├── app.component.spec.ts │ ├── app.component.ts │ └── app.module.ts │ └── index.html ├── angular-table-cell-conditional-color ├── package-lock.json ├── package.json ├── readme.rst └── src │ ├── app │ ├── app-routing.module.ts │ ├── app.component.html │ ├── app.component.ts │ └── app.module.ts │ └── index.html ├── angular-ui ├── .browserslistrc ├── .gitattributes ├── .gitignore ├── README.md ├── angular.json ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── karma.conf.js ├── package-lock.json ├── package.json ├── readme.rst ├── settings.gradle ├── src │ ├── app │ │ ├── app-routing.module.ts │ │ ├── app.component.css │ │ ├── app.component.html │ │ ├── app.component.spec.ts │ │ ├── app.component.ts │ │ └── app.module.ts │ ├── assets │ │ └── .gitkeep │ ├── environments │ │ ├── environment.prod.ts │ │ └── environment.ts │ ├── favicon.ico │ ├── index.html │ ├── main.ts │ ├── polyfills.ts │ ├── styles.css │ └── test.ts ├── tsconfig.app.json ├── tsconfig.json └── tsconfig.spec.json ├── angularjs-python ├── readme.rst └── src │ └── app │ ├── app-routing.module.ts │ ├── app.component.html │ ├── app.component.spec.ts │ ├── app.component.ts │ ├── app.module.ts │ ├── user-add │ ├── user-add.component.html │ ├── user-add.component.spec.ts │ └── user-add.component.ts │ ├── user-detail │ ├── user-detail.component.html │ ├── user-detail.component.spec.ts │ └── user-detail.component.ts │ ├── user-edit │ ├── user-edit.component.html │ ├── user-edit.component.spec.ts │ └── user-edit.component.ts │ ├── user-list │ ├── user-list.component.html │ ├── user-list.component.spec.ts │ └── user-list.component.ts │ ├── user.service.ts │ └── user.ts ├── spring-boot-angular-security ├── package.json ├── readme.rst └── src │ ├── app │ ├── app-routing.module.ts │ ├── app.component.html │ ├── app.component.spec.ts │ ├── app.component.ts │ ├── app.module.ts │ ├── auth.service.spec.ts │ ├── auth.service.ts │ ├── home │ │ ├── home.component.html │ │ ├── home.component.spec.ts │ │ └── home.component.ts │ ├── httpInterceptor.service.ts │ └── login │ │ ├── login.component.css │ │ ├── login.component.html │ │ ├── login.component.spec.ts │ │ └── login.component.ts │ └── index.html └── upload-angular ├── readme.rst └── src └── app ├── app-routing.module.ts ├── app.component.html ├── app.component.spec.ts ├── app.component.ts ├── app.module.ts └── file.service.ts /README.md: -------------------------------------------------------------------------------- 1 | # angular 2 | Angular app related source code. 3 | -------------------------------------------------------------------------------- /angular-allow-only-numerics-digits-textbox-field/readme.rst: -------------------------------------------------------------------------------- 1 | Please follow the tutorial https://roytuts.com/allow-only-numeric-values-or-digits-in-input-field-using-angular/ 2 | -------------------------------------------------------------------------------- /angular-allow-only-numerics-digits-textbox-field/src/app/app.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roytuts/angular/d004e0f93f36dc72e8566a0d5ed9d7f9a8820885/angular-allow-only-numerics-digits-textbox-field/src/app/app.component.css -------------------------------------------------------------------------------- /angular-allow-only-numerics-digits-textbox-field/src/app/app.component.html: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /angular-allow-only-numerics-digits-textbox-field/src/app/app.component.ts: -------------------------------------------------------------------------------- 1 | import { Component/*, ViewEncapsulation*/ } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-root', 5 | templateUrl: './app.component.html', 6 | //styleUrls: ['./app.component.css'], 7 | //styles: ['.msg {color: red;}'], 8 | //encapsulation: ViewEncapsulation.None, 9 | }) 10 | export class AppComponent { 11 | 12 | //msg: string; 13 | 14 | allowNumericDigitsOnlyOnKeyUp(e) { 15 | /*const charCode = e.which ? e.which : e.keyCode; 16 | 17 | if (charCode > 31 && (charCode < 48 || charCode > 57)) { 18 | this.msg = 'OOPs! Only numeric values or digits allowed'; 19 | }*/ 20 | 21 | //console.log(e.target.value); 22 | 23 | if(/\D/g.test(e.target.value)) { 24 | e.target.value = e.target.value.replace(/\D/g,''); 25 | } 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /angular-allow-only-numerics-digits-textbox-field/src/app/app.module.ts: -------------------------------------------------------------------------------- 1 | import { BrowserModule } from '@angular/platform-browser'; 2 | import { NgModule } from '@angular/core'; 3 | 4 | import { AppComponent } from './app.component'; 5 | 6 | @NgModule({ 7 | declarations: [ 8 | AppComponent 9 | ], 10 | imports: [ 11 | BrowserModule 12 | ], 13 | providers: [], 14 | bootstrap: [AppComponent] 15 | }) 16 | export class AppModule { } 17 | -------------------------------------------------------------------------------- /angular-allow-only-numerics-digits-textbox-field/src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |8 | | ID | 9 |Code | 10 |Name | 11 |Price | 12 |
---|---|---|---|---|
17 | | {{ p.id }} | 18 |{{ p.name }} | 19 |{{ p.code }} | 20 |{{ p.price }} | 21 |
8 | | ID | 9 |Code | 10 |Name | 11 |Price | 12 |
---|---|---|---|---|
17 | | {{ p.id }} | 18 |{{ p.name }} | 19 |{{ p.code }} | 20 |{{ p.price }} | 21 |
5 | 8 |
9 |10 | 13 |
14 |15 | 18 |
19 |5 | Name: {{user.name}} 6 |
7 |8 | Email: {{user.email}} 9 |
10 |5 | Name: 6 |
7 |8 | Email: 9 |
10 |Name | 10 |Actions | 12 ||
---|---|---|
{{user.name}} | 15 |{{user.email}} | 16 |17 | Detail 18 | 19 | Edit 20 | 21 | 22 | | 23 |
5 | 8 |
9 |10 | 13 |
14 |15 | 18 |
19 |6 | Name: {{user!.name}} 7 |
8 |9 | Email: {{user!.email}} 10 |
11 |6 | Name: 7 |
8 |9 | Email: 10 |
11 |ID | 11 |Name | 12 |Actions | 14 ||
---|---|---|---|
{{user.id}} | 17 |{{user.name}} | 18 |{{user.email}} | 19 |20 | Detail 21 | 22 | Edit 23 | 24 | 25 | | 26 |
ID | 8 |Code | 9 |Name | 10 |Price | 11 |
---|---|---|---|
{{ p.id }} | 16 |{{ p.name }} | 17 |{{ p.code }} | 18 |{{ p.price }} | 19 |
ID | 8 |Code | 9 |Name | 10 |Price | 11 |
---|---|---|---|
{{ p.id }} | 16 |{{ p.name }} | 17 |{{ p.code }} | 18 |{{ p.price }} | 19 |
5 | 6 |
7 |{{i+1}}. {{r}}
5 |dashboard works!
2 | 3 | 4 | -------------------------------------------------------------------------------- /angular-okta-sso-role-based-access/src/app/dashboard/dashboard.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { ComponentFixture, TestBed } from '@angular/core/testing'; 2 | 3 | import { DashboardComponent } from './dashboard.component'; 4 | 5 | describe('DashboardComponent', () => { 6 | let component: DashboardComponent; 7 | let fixture: ComponentFixturelogin works!
2 |Redirecting... Please wait!
-------------------------------------------------------------------------------- /angular-okta-sso-role-based-access/src/app/login/login.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { ComponentFixture, TestBed } from '@angular/core/testing'; 2 | 3 | import { LoginComponent } from './login.component'; 4 | 5 | describe('LoginComponent', () => { 6 | let component: LoginComponent; 7 | let fixture: ComponentFixtureprotected works!
2 |Role Based Access
3 | -------------------------------------------------------------------------------- /angular-okta-sso-role-based-access/src/app/protected/protected.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { ComponentFixture, TestBed } from '@angular/core/testing'; 2 | 3 | import { ProtectedComponent } from './protected.component'; 4 | 5 | describe('ProtectedComponent', () => { 6 | let component: ProtectedComponent; 7 | let fixture: ComponentFixtureupdatepage works!
2 |Role Based Access
3 | -------------------------------------------------------------------------------- /angular-okta-sso-role-based-access/src/app/updatepage/updatepage.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { ComponentFixture, TestBed } from '@angular/core/testing'; 2 | 3 | import { UpdatepageComponent } from './updatepage.component'; 4 | 5 | describe('UpdatepageComponent', () => { 6 | let component: UpdatepageComponent; 7 | let fixture: ComponentFixtureauth works!
2 | -------------------------------------------------------------------------------- /angular-okta-sso/src/app/auth/auth.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { ComponentFixture, TestBed } from '@angular/core/testing'; 2 | 3 | import { AuthComponent } from './auth.component'; 4 | 5 | describe('AuthComponent', () => { 6 | let component: AuthComponent; 7 | let fixture: ComponentFixtureThis is a '{{childMessage}}' in Child component
2 | 3 | 6 | -------------------------------------------------------------------------------- /angular-parent-child-data-share/src/app/child/child.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, Input } from '@angular/core'; 2 | //import { Component, Output, EventEmitter } from '@angular/core'; 3 | 4 | @Component({ 5 | selector: 'app-child', 6 | templateUrl: './child.component.html', 7 | styleUrl: './child.component.css' 8 | }) 9 | export class ChildComponent { 10 | 11 | @Input() childMessage: string = ''; 12 | 13 | /*@Output() newItemEvent = new EventEmitter5 | 8 |
9 |10 | 13 |
14 |6 | Title: {{website.title}} 7 |
8 |9 | URL: {{website.url}} 10 |
11 |6 | Title: 7 |
8 |9 | URL: 10 |
11 |ID | 10 |Title | 11 |URL | 12 |Actions | 13 |
---|---|---|---|
{{website.id}} | 16 |{{website.title}} | 17 |{{website.url}} | 18 |19 | Detail 20 | 21 | Edit 22 | 23 | 24 | | 25 |
5 | Title: 6 |
7 | 8 |9 | URL: 10 |
11 |{{website.id}}
5 |{{website.url}}
6 |{{website.title}}
7 |5 | Title: 6 |
7 | 8 |9 | URL: 10 |
11 |ID | 11 |URL | 12 |Title | 13 |Actions | 14 |
---|---|---|---|
{{website.id}} | 17 |{{website.url}} | 18 |{{website.title}} | 19 |20 | Detail 21 | Edit 22 | 23 | | 24 |
No Record Found!
29 |Welcome back, {{ loggedinUser }}!
4 |The ID is {{greeting.id}}
5 |The content is {{greeting.content}}
6 | 7 | 8 |Login to see your greeting
11 |8 | The topic of blogging seems to come up a lot in our social media training workshops. The benefits of a quality blog are obvious – fresh content is good for your readers and your rankings. Blogs are easy to set up and even easier to update. We often tell people that if they can use Microsoft Word… they can update a blog. 9 | 10 | As easy as they are to set up, they can be difficult to maintain. A good blog is filled with relevant, timely content that is updated on a regular basis. New bloggers often start out with a bang but then fizzle out when they realize that creating content can be challenging. 11 |
12 |Product Id | 5 |Price | 6 |Sale Price | 7 |Sales Count | 8 |Sale Date | 9 |
---|---|---|---|---|
{{product.id}} | 14 |{{product.price}} | 15 |{{product.sale_price}} | 16 |{{product.sales_count}} | 17 |{{product.sale_date}} | 18 |
5 | 8 |
9 |10 | 13 |
14 |15 | 18 |
19 |6 | Name: {{user.name}} 7 |
8 |9 | Email: {{user.email}} 10 |
11 |6 | Name: 7 |
8 |9 | Email: 10 |
11 |ID | 10 |Name | 11 |Actions | 13 ||
---|---|---|---|
{{user.id}} | 16 |{{user.name}} | 17 |{{user.email}} | 18 |19 | Detail 20 | 21 | Edit 22 | 23 | 24 | | 25 |
Welcome back, {{ loggedinUser }}!
4 |The ID is {{greeting.id}}
5 |The content is {{greeting.content}}
6 | 7 | 8 |Login to see your greeting
11 |