Skip to content

Instantly share code, notes, and snippets.

@adyba
adyba / profile.component.ts
Created August 17, 2025 06:03
NgRx Signal Store with Undo/Redo feature
import { Component, DestroyRef, inject } from '@angular/core';
import { FormBuilder, Validators } from '@angular/forms';
import { ProfileStore } from './profile.store';
@Component({
selector: 'app-profile',
standalone: true,
template: `
<form [formGroup]="form">
<input formControlName="firstName" />
@adyba
adyba / gist:4ad5735b2b36d6cc64d2
Created May 29, 2015 13:10
Vannila index_html generated by ng-super
<!DOCTYPE html>
<html ng-app="app">
<head lang="en">
<meta charset="UTF-8">
<title ng-bind="pageTitle"></title>
<!-- build:css styles/main.css -->
<!-- bower:css -->
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.css"/>
<link rel="stylesheet" href="bower_components/angular-growl-v2/build/angular-growl.css"/>
<link rel="stylesheet" href="bower_components/oi.multiselect/dist/multiselect.css" />